package com.wish.wishhouse_foreclosure.service.feign;

import com.wish.wishhouse_foreclosure.entity.SysUser;
import dto.systemDto.SysUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "wish-system-management",fallbackFactory = SystemServiceError.class)
public interface SystemService {

    @RequestMapping("/sysUser/getBusinessIdByUserName")
    public SysUserDto getBusinessIdByUserId(@RequestBody String username);
}
